package com.skilltrack;


import com.skilltrackedu.config.DefaultFeginConfig;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableSwagger2Doc
@SpringBootApplication(scanBasePackages = {"com.skilltrack.auth"} )
@EnableFeignClients(defaultConfiguration = DefaultFeginConfig.class)//设置全局feign配置

public class AuthApplication {
	public static void main(String[] args) {
		SpringApplication.run(AuthApplication.class, args);
	}
}